package com.dj.mingkong.admin.biz.controller.system.vo.request;

import com.dj.mingkong.common.infrastructure.base.dto.query.QueryVo;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * 字典列表查询参数实体
 *
 * @author zenglonghui
 * @date: 2022/7/12 17:35
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class DictionaryQueryVo extends QueryVo {
    /**
     * 数据字典KEY
     */
    @Size(max = 118, message = "dictKey invalid")
    private String dictKey;
    /**
     * 数据字典值
     */
    @Size(max = 1980, message = "dictValue invalid")
    private String dictValue;
    /**
     * 状态，有效1，失效0
     */
    @Max(value = 1, message = "status invalid")
    @Min(value = 0, message = "status invalid")
    private Integer status;

}
